package com.spic.business.supervision.service;

import com.spic.business.common.core.workflow.IWorkFlowService;
import com.spic.business.supervision.domain.DocSupervision;

import java.util.List;

/**
 * 公文督办
 */
public interface IDocSupervisionService extends IWorkFlowService<DocSupervision> {
    /**
     * 查询列表
     * @param docSupervision
     * @return
     */
    List<DocSupervision> selectDocSupervisionList(DocSupervision docSupervision);

    /**
     * 获取详细信息
     * @param id
     * @return
     */
    DocSupervision selectDocSupervisionById(Integer id);

    /**
     * 新增
     * @param docSupervision
     * @return
     */
    Long insertDocSupervision(DocSupervision docSupervision);

    /**
     * 修改
     * @param docSupervision
     * @return
     */
    int updateDocSupervision(DocSupervision docSupervision);

    /**
     * 删除
     * @param ids
     * @return
     */
    int deleteDocSupervisionByIds(Integer[] ids);

    /**
     * 发送短信
     * @param id 数据id
     */
    public void sendMsg(String id);
}
